package com.example.shop.user.dto;

import com.example.shop.goods.dto.GoodsBrowseInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsCollection {
    private GoodsBrowseInfo goodsInfo;
    private LocalDateTime goodsCollectionDateTime;

    @Override
    public String toString() {
        return "GoodsCollection{" +
                "goodsInfo=" + goodsInfo +
                ", goodsCollectionDateTime=" + goodsCollectionDateTime +
                '}';
    }
}
